#### Replication of "Understanding Public Attitudes toward Restrictive Voting Laws in the United States"
#### Katherine Clayton 

***

#### Description
Existing research on voting legislation argues that Republican lawmakers enact strict voting laws as part of a racialized, partisan electoral strategy—they believe that the laws will reduce minority turnout and benefit Republicans electorally. Yet, the empirical effects of strict voting laws on turnout are mixed, with some studies finding that restrictive legislation can actually increase minority turnout due to counter-mobilization effects. I leverage this empirical finding to study the foundations of public attitudes toward voting laws, specifically testing whether exposure to information that restrictive voting laws can boost minority turnout impacts Republicans' or Democrats' attitudes. My results show that Republican support for restrictive voting laws generally does not change in response to information about the consequences of the laws, but Democrats are significantly less opposed when they become aware of the laws' potential impact on minority turnout. These results pose challenges for building majorities that will defend the franchise in the United States.

#### Files included in this package:

- `_.R.Rproj` -- R project file
- `_README.html` -- generated by `README.Rmd`
- `_README.Rmd` -- this file 
- `data` -- subfolder
  - `Racial+Attitudes+and+Voting+Rights+++Intraparty+Conflict+v3_June+1,+2021_07.38.csv` -- data file
- `figures` -- subfolder (all figures are generated by the scripts)
- `output` -- subfolder (all files are generated by the scripts)
- `scripts` -- subfolder
  - `01_vr.R` -- script
  - `02_vr.R` -- script
  - `03_vr.R` -- script 
  - `04_vr.R` -- script 
  - `05_vr.R` -- script 
  
#### Program: 

`R` (version 4.1.3)

#### Additional programs required: 

- `tidyverse` (version 1.3.1)
- `qualtRics` (version 3.1.5)
- `scales` (version 1.1.1)
- `estimatr` (version 0.30.6)
- `ggthemes` (version 4.2.4)
- `magrittr` (version 2.0.3)
- `margins` (version 0.3.26)
- `stargazer` (version 5.2.3)
- `multcomp` (version 1.4-18)


#### Process of replication:

1. For best results, restart R using Ctrl+FN+F10 (Mac) or Ctrl+shift+F10 (Windows and Linux) before running script.

2. Run `01_vr.R`.

3. Run `02_vr.R`.

4. Run `03_vr.R`.

5. Run `04_vr.R`.

5. Run `05_vr.R`.

#### Most recent date of successful replication:

June 8, 2023
